<!DOCTYPE html>
<html>
{include file="public/head"}

<body>
    {include file="public/nav"} {include file="public/nav-2"}
    <!-- 分割 -->
    <div class="layui-container fly-marginTop">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md8">
                <div class="fly-panel fly-panel-user " pad20="">
                    <div class="layui-tab layui-tab-brief" lay-filter="user">
                        <ul class="layui-tab-title">
                            <li class="layui-this">信息查看</li>
                        </ul>
                        <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 20px 0;">
                            <div class="layui-tab-item layui-show">
                                <div class="layui-form layui-form-pane">
                                    <div class="layui-row layui-col-space15">
                                        <div class="layui-col-md6">
                                            <div class="photos detail-body-myalter">
                                                <img src="__STATIC__/../upload/users/head/{$img}" style="border: 0px;border: 1px solid #ffffff; -webkit-border-radius: 50%;border-radius: 50%">
                                            </div>
                                            <div class="layui-form-item">
                                                <label for="L_email" class="layui-form-label">用户名</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" value="{$user_id}" name="user_id" class="layui-input"  readonly>
                                                </div>
                                            </div>
                                            {if condition="($email_power==true)"}
                                            <div class="layui-form-item">
                                                <label for="L_email" class="layui-form-label">邮箱</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" id="email" value="{$email}" name="email" class="layui-input"  readonly>
                                                </div>
                                            </div>
                                            {/if}
                                            <div class="layui-form-item">
                                                <label for="L_email" class="layui-form-label">昵称</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" id="nick" value="{$nick}" name="nick" class="layui-input"  readonly>
                                                </div>
                                            </div>
                                            <div class="layui-form-item">
                                                <label for="L_email" class="layui-form-label">学校</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" id="school" value="{$school}" name="school" class="layui-input"  readonly>
                                                </div>
                                            </div>
                                            <div class="layui-form-item">
                                                <label for="L_email" class="layui-form-label">QQ</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" id="qq" value="{$qq}" name="qq" class="layui-input"  readonly>
                                                </div>
                                            </div>
                                            <div class="layui-form-item">
                                                <label for="L_email" class="layui-form-label">博客</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" id="email" value="{$blog}" name="email" lay-verify="email" class="layui-input"  readonly>
                                                </div>
                                            </div>
                                            <div class="layui-form-item">
                                                <label for="L_coin" class="layui-form-label">OJ币</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" id="coin" value="{$coin}" name="coin" class="layui-input"  readonly>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-md6">
                                            <div class="layui-form-item">
                                                <label for="L_email" class="layui-form-label">通过题目数量</label>
                                                <div class="layui-input-inline">
                                                    <input type="text" id="ac_num" value="{$count_ac}" name="count_ac" class="layui-input"  readonly>
                                                </div>
                                            </div>
                                            <div class="layui-form-item layui-form-text" style="width:300px;">
                                                <label class="layui-form-label">个人简介</label>
                                                <div class="layui-input-block">
                                                    <textarea name="brief" placeholder="请输入内容..." class="layui-textarea" style="min-height: 214px;" readonly>{$brief}</textarea>
                                                </div>
                                            </div>
                                            <div class="layui-form-item layui-form-text" style="width:300px;">
                                                <label class="layui-form-label">发送消息</label>
                                                <a href="{:url('web/community/sendmsg',['user_id'=>$user_id])}">
                                                    <div style="border:1px solid beige;">
                                                        <span style='position: relative;left: 75px;'>
                                                            <i title="联系他" class="layui-icon layui-icon-face-smile" style="font-size: 100px; color: #1E9FFF;">&#xe63a;</i>  
                                                        </span>

                                                    </div>
                                                </a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            {include file="account/doing_ac"}
        </div>
    </div>
</body>
<!-- 分割 -->
{include file="public/foot"}
<script>
    //注意：折叠面板 依赖 element 模块，否则无法进行功能性操作
    layui.use('element', function() {
        var element = layui.element;
    });
</script>

</html>